package com.nettyRpc.provider;

import com.nettyRpc.provider.netty.*;
/**
 * @Description
 * @Author xsd
 * @Date 2020/6/15
 * zj: ServerBootstrap 绑事件_EventLoopGroup  监听通道 socketChannel
 *      ChannelInboundHandlerAdapter 的 channelRead方法接收客户端 _序列化后 ObjectEncoder() 值
 *      入参 DubboRequest(id=100, className=com.nettyRpc.api.IHelloService, method=hello, args=[Hello World])
 *      反射实例__// com.nettyRpc.provider.HelloServiceImpl
 *              method.invoke(object, request.getArgs());
 *
 *      响应客户端：ctx.writeAndFlush(data);
 */
public class proTest {
    public static void main(String[] args) {
        new NettyServer().bind(8088);
    }
}
